extends layout
block content
    h1= title
    p Welcome to #{title}
    div#content
    script(src="/socket.io/socket.io.js")
    script
        | io = io.connect("http://localhost:3000/");
        | io.on("server_msg", function(msg) {
        |    $("#content").append("<p>"+msg+"</p>");
        | })

